package com.tx.entity;

public class Student {

    private int id;

    private String name;

    private int age;

    private int majorId;

    private String phone;

    private String studentId;


    public Student(int id, String name, int age, int majorId, String phone, String studentId) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.majorId = majorId;
        this.phone = phone;
        this.studentId = studentId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getMajorId() {
        return majorId;
    }

    public void setMajorId(int majorId) {
        this.majorId = majorId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }
}
